
/*!
 *   @author wyl, 16-08-01
 *
 *   @brief <#Description#>
 *
 *   @param NJ <#NJ description#>
 *
 *   @return <#return value description#>
 */
#import <MBProgressHUD/MBProgressHUD.h>

@interface MBProgressHUD (NJ)


+(void)showLoading:(UIView *)view ;
+ (void)showSuccess:(NSString *)success;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;

+ (void)showError:(NSString *)error;
+ (void)showError:(NSString *)error toView:(UIView *)view;

+ (MBProgressHUD *)showMessage:(NSString *)message;
+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;

+ (void)hideHUD;
+ (void)hideHUDForView:(UIView *)view;

@end
